/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-11-13 11:48:03
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    formObj: [{
        input: true, //是input
        label: "拌合站名称", //字段
        prop: "fStationname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        rules: [{
            required: true,
            message: '请填写拌合站名称'
        }] //验证
    },
    {

        input: true, //是input
        label: "拌合机名称", //字段
        prop: "fMachinename", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        rules: [{
            required: true,
            message: '请填写拌合机名称'
        }] //验证
    },
    {
        input: true, //是input
        label: "检定证书编号", //字段
        prop: "fCertificatenumber", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请填写检定证书编号'
        }] //验证
    },
    {
        selects: true, //是input
        label: "检定/校准结果", //字段
        prop: "fCheckresult", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [{
            value: "合格",
            label: "合格",
        }, {
            value: "准用",
            label: "准用",
        }, {
            value: "停用",
            label: "停用",
        }],
        rules: [{
            required: true,
            message: '请填写检定/校准结果'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "下次检定日期", //字段
        prop: "fNextcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择下次检定日期'
        }] //验证
    },
    {
        label: "证书扫描件资料", //字段
        prop: "fScanfile", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
        rules: [{
            required: true,
            message: '请上传资料'
        }] //验证
    },
    {
        input: true, //是input
        label: "维护人", //字段
        prop: "fMaintainername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请填写维护人'
        }] //验证
    },
    {
        datePicker: true, //是input
        // dateTime: true, //是input
        label: "维护时间", //字段
        prop: "fMaintenancedates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择维护时间'
        }] //验证
    },
    ]
}